package org.rain.core.storage.service;

import com.baomidou.mybatisplus.extension.service.IService;
import org.rain.core.storage.model.entity.SysFile;
import org.springframework.web.multipart.MultipartFile;

/**
 * created by yangtong on 2025/4/11 22:44:15
 */
public interface ISysFileService extends IService<SysFile> {
    /**
     * 根据id删除文件
     */
    void delete(String fileId);

    /**
     * 上传文件
     */
    String upload(MultipartFile file);

    /**
     * 下载文件
     */
    void download(String fileId);
}
